package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.Livebroadcastingroom;

/**
 * 直播间信息Mapper接口
 * 
 * @author kinglu
 * @date 2021-11-30
 */
public interface LivebroadcastingroomMapper 
{
    /**
     * 查询直播间信息
     * 
     * @param roomId 直播间信息主键
     * @return 直播间信息
     */
    public Livebroadcastingroom selectLivebroadcastingroomByRoomId(Long roomId);

    /**
     * 查询直播间信息列表
     * 
     * @param livebroadcastingroom 直播间信息
     * @return 直播间信息集合
     */
    public List<Livebroadcastingroom> selectLivebroadcastingroomList(Livebroadcastingroom livebroadcastingroom);

    /**
     * 新增直播间信息
     * 
     * @param livebroadcastingroom 直播间信息
     * @return 结果
     */
    public int insertLivebroadcastingroom(Livebroadcastingroom livebroadcastingroom);

    /**
     * 修改直播间信息
     * 
     * @param livebroadcastingroom 直播间信息
     * @return 结果
     */
    public int updateLivebroadcastingroom(Livebroadcastingroom livebroadcastingroom);

    /**
     * 删除直播间信息
     * 
     * @param roomId 直播间信息主键
     * @return 结果
     */
    public int deleteLivebroadcastingroomByRoomId(Long roomId);

    /**
     * 批量删除直播间信息
     * 
     * @param roomIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteLivebroadcastingroomByRoomIds(Long[] roomIds);
}
